package com.cherrypt.api.core.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cherrypt.api.core.dao.SeriesDao;
import com.cherrypt.api.core.service.SeriesService;
import com.cherrypt.api.model.dataobject.Series;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: intent
 * @Date: 19-10-28 下午1:13
 */
@Service
public class SeriesServiceImpl extends ServiceImpl<SeriesDao, Series> implements SeriesService {
    @Override
    public List<Series> getSeriesList(int pid) {
        return this.baseMapper.selectSeriesListByPid(pid);
    }
}
